SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin/test/comm/)

SET(my_defs_test my_defs_test.c)
ADD_EXECUTABLE(my_defs_test ${my_defs_test})
TARGET_LINK_LIBRARIES(my_defs_test mycache)

SET(my_str_test my_str_test.c)
ADD_EXECUTABLE(my_str_test ${my_str_test})
TARGET_LINK_LIBRARIES(my_str_test mycache)

SET(my_mem_test my_mem_test.c)
ADD_EXECUTABLE(my_mem_test ${my_mem_test})
TARGET_LINK_LIBRARIES(my_mem_test mycache)

SET(my_log_test my_log_test.c)
ADD_EXECUTABLE(my_log_test ${my_log_test})
TARGET_LINK_LIBRARIES(my_log_test mycache)

SET(my_atomic_test my_atomic_test.c)
ADD_EXECUTABLE(my_atomic_test ${my_atomic_test})
TARGET_LINK_LIBRARIES(my_atomic_test mycache)

SET(my_spinlock_test my_spinlock_test.c)
ADD_EXECUTABLE(my_spinlock_test ${my_spinlock_test})
TARGET_LINK_LIBRARIES(my_spinlock_test mycache pthread)

SET(my_rwlock_test my_rwlock_test.c)
ADD_EXECUTABLE(my_rwlock_test ${my_rwlock_test})
TARGET_LINK_LIBRARIES(my_rwlock_test mycache pthread)

SET(my_queue_test my_queue_test.c)
ADD_EXECUTABLE(my_queue_test ${my_queue_test})
TARGET_LINK_LIBRARIES(my_queue_test mycache)

SET(my_rbtree_test my_rbtree_test.c)
ADD_EXECUTABLE(my_rbtree_test ${my_rbtree_test})
TARGET_LINK_LIBRARIES(my_rbtree_test mycache)

SET(my_crc_test my_crc_test.c)
ADD_EXECUTABLE(my_crc_test ${my_crc_test})
TARGET_LINK_LIBRARIES(my_crc_test mycache)

SET(my_fnv_hash_test my_fnv_hash_test.c)
ADD_EXECUTABLE(my_fnv_hash_test ${my_fnv_hash_test})
TARGET_LINK_LIBRARIES(my_fnv_hash_test mycache)

SET(my_cpuinfo_test my_cpuinfo_test.c)
ADD_EXECUTABLE(my_cpuinfo_test ${my_cpuinfo_test})
TARGET_LINK_LIBRARIES(my_cpuinfo_test mycache)

SET(my_hrtime_test my_hrtime_test.c)
ADD_EXECUTABLE(my_hrtime_test ${my_hrtime_test})
TARGET_LINK_LIBRARIES(my_hrtime_test mycache)

SET(my_cleanup_test my_cleanup_test.c)
ADD_EXECUTABLE(my_cleanup_test ${my_cleanup_test})
TARGET_LINK_LIBRARIES(my_cleanup_test mycache)

SET(my_chash_test my_chash_test.c)
ADD_EXECUTABLE(my_chash_test ${my_chash_test})
TARGET_LINK_LIBRARIES(my_chash_test mycache)

SET(my_random_test my_random_test.c)
ADD_EXECUTABLE(my_random_test ${my_random_test})
TARGET_LINK_LIBRARIES(my_random_test mycache)

SET(my_inet_test my_inet_test.c)
ADD_EXECUTABLE(my_inet_test ${my_inet_test})
TARGET_LINK_LIBRARIES(my_inet_test mycache)

SET(my_thread_base_test my_thread_base_test.c)
ADD_EXECUTABLE(my_thread_base_test ${my_thread_base_test})
TARGET_LINK_LIBRARIES(my_thread_base_test mycache)

SET(my_buf_test my_buf_test.c)
ADD_EXECUTABLE(my_buf_test ${my_buf_test})
TARGET_LINK_LIBRARIES(my_buf_test mycache)

SET(my_pool_test my_pool_test.c)
ADD_EXECUTABLE(my_pool_test ${my_pool_test})
TARGET_LINK_LIBRARIES(my_pool_test mycache)

SET(my_hooks_test my_hooks_test.c)
ADD_EXECUTABLE(my_hooks_test ${my_hooks_test})
TARGET_LINK_LIBRARIES(my_hooks_test mycache)